projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1168e
)
[__bsdi__]: Alternate decls of getpwuid and getpwnam.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 31 May 1993 23:50:17 +0000
(23:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 31 May 1993 23:50:17 +0000
(23:50 +0000)
src/xrdb.c
patch
|
blob
|
history
diff --git
a/src/xrdb.c
b/src/xrdb.c
index fdce4e44a88a263e83336726d479108b760fa9b4..19ca21f9e02d00c10fd911f802a44697ad59ed88 100644
(file)
--- a/
src/xrdb.c
+++ b/
src/xrdb.c
@@
-63,8
+63,13
@@
extern short getuid (); /* If this causes portability problems,
default to `int' anyway. */
#endif
+#ifdef __bsdi__
+extern struct passwd *getpwuid (uid_t);
+extern struct passwd *getpwnam (const char *);
+#else
extern struct passwd *getpwuid ();
extern struct passwd *getpwnam ();
+#endif
static char *
gethomedir (dirname)